package com.waves.common.event;

import com.waves.chat.domain.pojo.ChatMsgRecall;
import lombok.Getter;
import org.springframework.context.ApplicationEvent;

@Getter
public class MessageRecallEvent extends ApplicationEvent {

    private final ChatMsgRecall recallDTO;

    public MessageRecallEvent(Object source, ChatMsgRecall recallDTO) {
        super(source);
        this.recallDTO = recallDTO;
    }

}
